package common.adventurecard.item;

import common.Game;
import common.Items;

public class Sword extends Items {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final String name = "Sword";

	@Override
	public boolean doStuff(final Game sg) {
		sg.addToLog(sg.getPlayer(sg.getCurrentPlayer()).getName()
				+ " has found a sword, which increases his Strength by one!\n");
		sg.getPlayer(sg.getCurrentPlayer()).setStrength(
				sg.getPlayer(sg.getCurrentPlayer()).getStrength() + 1);
		return true;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
